<h1>List of Items</h1>
<table border="1">
  <tr><th>Id</th><th>Type</th><th>Price</th></tr>
  <% for item in @items %>
  <tr>
    <td><%= item.id %>
    </td>
    <td><%= item.type %> </td>
    <td align="right"><%= number_to_currency(item.price) %></td>

  </tr>
  <% end %>
</table>
